@font-face {
    font-family: font;
    src: url(../Vazir/Vazir-Bold-FD.ttf);
}
html,body{
width: 100%;
height: auto;
float: left;
margin: 0;
padding: 0;   
direction: rtl;
}
body *{
    font-family: font;
}
body{
    background-color: #f7f7f75c !important;
}
a{
    text-decoration: none;
}
.cart-sec{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 1em 5%;
}
.cart-sec form{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    flex-direction: column;
}
.cart-table{
    width: 100%;
    height: auto;
    float: left;
    overflow-x: auto;
}
.cart-table table{
    width: 100%;
    height: auto;
    float: right;
    border-collapse: collapse;
    border-radius: 10px;
    overflow: hidden;
    background-color: white;
}
.cart-table :where(td,th){
    padding: 1.2em 0.5em;
    text-align: center;
}
.cart-table th{
    color: rgb(16, 76, 179);
    border-bottom: 2px solid rgba(35, 35, 35, 0.38);
    background-color: rgba(80, 106, 173, 0.234);
}
.cart-table :is(tbody,tfoot)>tr{
    border-bottom: 1px solid rgba(80, 106, 173, 0.375);
}
.cart-table :is(tbody,tfoot)>tr:last-child{
    border-bottom: none;
}
.cart-pr{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
}
.cart-pr p{
    width: fit-content;
    height: auto;
    float: left;
    margin: 0;
    margin-right: 5%;
}
.cart-img{
    width: 6em;
    height: auto;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 5px 0 rgb(222, 222, 222);
    overflow: hidden;
    padding: 0.3em;
    box-sizing: border-box;
    border-radius: 5px;
}
.cart-img img{
    width: 100%;
    height: auto;
    float: left;
    object-fit: cover;
    aspect-ratio: 8 / 7;
}
.cart-quantity{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-quantity .quantity-sec{
    width: 90%;
    margin: 0;
}
.number-cel{
    width: 15%;
    height: auto;
}
.name-cel{
    width: 30%;
}
.edit-cart{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
}
.delete-btn{
    width: fit-content;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    background-color: red;
    padding: 8px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.delete-btn:hover{
    background-color: rgb(195, 0, 0);
    transition: 0.3s;
}
.row-head{
    border: none !important;
}
.cart-option{
    width: 100%;
    height: auto;
    float: left;
    display: flex;
    align-items: center;
    margin-top: 3em;
    justify-content: flex-end;
}
.quantity-sec{
    width: 7em;
    height: auto;
    float: left;
    display: flex;
    align-items: stretch;
    border: 1px solid #c4c4c4;
    margin-left: 1em;
    background-color: white;
    border-radius: 10px;
    flex-direction: row-reverse;
}
.quantity-sec button{
    width: 30%;
    height: auto;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    color: #30373f;
    border: none;
    cursor: pointer;
    padding: 1em 0;
}
.quantity-sec input{
    width: 40%;
    height: auto;
    float: left;
    text-align: center;
    outline: none;
    border: none;
    font-size: 15px;
}
tbody tr:nth-child(even) {background-color: #f2f2f24a;}

@media only screen and (max-width:1200px){
    .cart-table table{
        width: 80em;
    }
}